﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleCompiler
{
    public class StatementVariable : Statement
    {
        Variable variable;
        public StatementVariable(Variable variable)
        {
            this.variable = variable;
        }
        public override Variable Execute(RuntimeVariableScope scope)
        {
            return variable.MakeLoaded(scope);
        }
    }
}
